package org.estela.comp;

public class ClassField {

	private DataType dataType;
	private String name;
	private Expression value;

	public Expression getValue() {
		if (this.value == null) {
			return NullValue.instance;
		}
		return this.value;
	}

	public void setValue(Expression value) {
		this.value = value;
	}

	
	public void setName(String name) {
		this.name = name;
	}

	public String getName() {
		return name;
	}

	public DataType getDataType() {
		return dataType;
	}

	public void setDataType(DataType dataType) {
		this.dataType = dataType;
	}

}
